package com.killer.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.killer.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 规格表
 * </p>
 *
 * @author killer
 * @since 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_spec")
@ApiModel(value="Spec对象", description="规格表")
public class Spec extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "规格选项")
    @TableField("options")
    private String options;

    @ApiModelProperty(value = "排序")
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "模板ID")
    @TableField("template_id")
    private Long templateId;


}
